#pragma once

#include "zen_vap_sprite.h"
#include "zen_font.h"
#include <vector>
#include <mutex>

namespace Zen { namespace Vap {

	/**
	 00 -- 10
	 |      |
	 |      |
	 01 -- 11
	 */
	struct TileChar {
		char32_t code;
		Vec2 tex_coord00;
		Vec2 tex_coord11;
		Size2 pixel_size;
	};
	class TileMap {
	public:
		TileChar * getTile(char32_t unicode);

		SharedTexture getTexture();

		Rect4f getTextureRect();
	};
}}
